﻿@* Ui层项目 - 列表页文件 *@
@using Util.Generators.Helpers
@model Util.Generators.Contexts.EntityContext
@{
    var service = new GenerateService( Model );
    Model.Output.FileNameNoExtension = "Index";
    Model.Output.Extension = ".cshtml";
    Model.Output.RelativeRootPath = $"src/{service.GetUiPagesPath()}";
}
@if ( service.IsTreeEntity() ) {
    @Html.PartialAsync("~/Templates/src/Presentation/Pages/Routes/Index/Index.Tree.Part.cshtml", Model)
}
else {
    @Html.PartialAsync("~/Templates/src/Presentation/Pages/Routes/Index/Index.Part.cshtml", Model)
}